home *** CD-ROM | disk | FTP | other *** search
- Path: garden.csc.calpoly.edu!not-for-mail
- From: dstubbs@garden.csc.calpoly.edu (Dan Stubbs)
- Newsgroups: comp.lang.c
- Subject: Re: C source code formatter
- Date: 28 Feb 1996 13:25:12 -0800
- Organization: Cal Poly, San Luis Obispo
- Message-ID: <4h2h7o$eq6@garden.csc.calpoly.edu>
- References: <4h0inh$jlb@news-f.iadfw.net> <IViA7DA4HENxEw1s@nmsg.demon.co.uk>
- NNTP-Posting-User: dstubbs@garden.csc.calpoly.edu
-
- In article <IViA7DA4HENxEw1s@nmsg.demon.co.uk>,
- Mark Harden <mark@nmsg.demon.co.uk> wrote:
- >In article <4h0inh$jlb@news-f.iadfw.net>, Chris Riley
- ><riley@mail.airmail.net> writes
- >>I'm looking for a C source code formatter that will take existing C source
- >>code and format it in a "more readable" format. Source code for this program
- >>would be nice so that I could modify it to suit. Does anyone out there know
- >>of one that's available via ftp?
- >
- >There is a GNU prog called INDENT or is it IDENT ?
- >This can be configured to cover a range of styles...
- >
- I agree that indent is a very good program. You can configure it
- in the command line when it is invoked, or you can put your choices
- in a configuration file so that indent becomes "customized" to how
- you want it to operate. I suspect it is available on most UNIX systems.
-
- Another public domain formatter is cb for "beautifier." It does
- not provide for as much user control as indent, but there are a few
- flags that can be set on the command line. One of its options formats
- code to the style used in K&R.
-
- I suspect you really want a good *customizable* formatter, not the
- source code.
-
-
-
-